function [out, Maturity_date, debtoverhang] = equity_given_debtmat(struct_input, firm_type, debtmat)

debtmat_dur = duration([debtmat*365*24, 0, 0]);

struct_input.Maturity = struct_input.Settle + debtmat_dur;
Maturity_date = struct_input.Maturity;
[~ ,out, debtoverhang] = debt2asset_fun(struct_input, firm_type);

end